package com.migo.service.impl;

import com.migo.dao.ShOrderServiceTypeDetailDao;
import com.migo.entity.ShOrderServiceTypeDetailEntity;
import com.migo.service.ShOrderServiceTypeDetailService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;



@Service("shOrderServiceTypeDetailService")
public class ShOrderServiceTypeDetailServiceImpl implements ShOrderServiceTypeDetailService {
	@Autowired
	private ShOrderServiceTypeDetailDao shOrderServiceTypeDetailDao;
	
	@Override
	public ShOrderServiceTypeDetailEntity queryObject(Integer id){
		return shOrderServiceTypeDetailDao.queryObject(id);
	}
	
	@Override
	public List<ShOrderServiceTypeDetailEntity> queryList(Map<String, Object> map){
		return shOrderServiceTypeDetailDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return shOrderServiceTypeDetailDao.queryTotal(map);
	}
	
	@Override
	public void save(ShOrderServiceTypeDetailEntity shOrderServiceTypeDetail){
		shOrderServiceTypeDetailDao.save(shOrderServiceTypeDetail);
	}
	
	@Override
	public void update(ShOrderServiceTypeDetailEntity shOrderServiceTypeDetail){
		shOrderServiceTypeDetailDao.update(shOrderServiceTypeDetail);
	}
	
	@Override
	public void delete(Integer id){
		shOrderServiceTypeDetailDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		shOrderServiceTypeDetailDao.deleteBatch(ids);
	}
	
}
